
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html> 
<head> 
<title>建站宝盒成品网站演示</title>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312">
<script src="share/jquery.js"></script>
<link rel="stylesheet" type="text/css" href="share/font-awesome.min.css">
<style>
	a{color:#FFFFFF;text-decoration:none;}
	.boxV6Button:hover {background-color: #c00;	}
	.boxV6Button {background-color: #1C76F5;	}
	.boxV6Button {float:right;font-size: 14px;background: url() 0% 0% repeat-x rgb(28, 118, 245);color: white;border: 0px;border-image-source: initial;border-image-slice: initial;border-image-width: initial;border-image-outset: initial;border-image-repeat: initial;padding: 7px 35px;border-radius: 3px;cursor: pointer;-webkit-box-shadow: rgb(105, 105, 105) 0px 1px 0px inset;box-shadow: rgb(51, 51, 51) 1px 1px 2px;text-shadow: rgba(0, 0, 0, 0.4) -1px -1px 0px;margin:6px 5px 0px 0px;}
	a.md{padding:11px 12px 10px;display:block;float:left;background:#111;}
	a.md:hover{background:#c00;}
	
	.fl { float: left; }
	.topLeftIco i, .topRightIco i { display: block; line-height: 48px; height: 45px; }
	.topLeftIco { width: 45px; height: 45px; line-height: 45px; text-align: center; color: #fff; font-size: 18px; position: relative; }
	.topLeftIco a { position: relative; display: block; height: 45px; overflow: hidden; }
	.animi { transition: ease-in-out 0.2s; -moz-transition: ease-in-out 0.2s; -webkit-transition: ease-in-out 0.2s; -o-transition: ease-in-out 0.2s; }
	.mainBgColor{background: #666;}
	.preview{ position: absolute; width: 100%; height: calc(100% - 45px); top: 45px; left: 0px; margin: 0px; padding: 0px; z-index: 800; background:#999;display:none; opacity:0;}
	.previewCanvas { position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; margin: 0px; padding: 0px; border: none; z-index: 100;background-color: #fff; z-index:800; }
		.canvas-mobile { position: absolute; top: 4%; left: 50%; width: 320px; height: 580px; margin-left: -160px; border-radius: 30px; overflow: hidden; opacity:0; z-index:10; background:#fff;}
		.canvas-mobile-top { position: absolute; top: 0px; left: 0; width: 100%; height: 30px; background: #F4F5F7; border-bottom: 1px solid #ccc; }
	.canvas-mobile-bottom { position: absolute; bottom: 0; left: 0; width: 100%; height: 45px; background: #F4F5F7; border-top: 1px solid #ccc; }
	.canvas-mobile-top-ico { background: #CCC none repeat scroll 0 0; border-radius: 5px; height: 10px; left: 50%; margin-left: -25px; position: absolute; top: 50%; margin-top: -5px; width: 50px; }
	.canvas-mobile-bottom-ico { background: #CCC none repeat scroll 0 0; border-radius: 30px; height: 30px; left: 50%; margin-left: -15px; margin-top: -15px; position: absolute; top: 50%; width: 30px; }

	.canvas-pad { position: absolute; top: 4%; left: 50%; width: 1035px; height: 92%; margin-left: -517.5px; border-radius: 30px; overflow: hidden; opacity:0; z-index:10; background:#fff;}
	.canvas-pad-top { position: absolute; top: 0px; left: 0; width: 30px; height: 100%; background: #f4F5F7; border-right: 1px solid #ccc; }
	.canvas-pad-bottom { position: absolute; top: 0; right: 0; width: 45px; height: 100%; background: #F4F5F7; border-left: 1px solid #ccc; }
	.canvas-pad-top-ico { background: #CCC none repeat scroll 0 0; border-radius: 5px; height: 50px; left: 50%; margin-top: -25px; position: absolute; top: 50%; margin-left: -5px; width: 10px; }
	.canvas-pad-bottom-ico { background: #CCC none repeat scroll 0 0; border-radius: 30px;  height: 30px; left: 50%; margin-left: -15px; margin-top: -15px; position: absolute; top: 50%; width: 30px; }

	.pageSize-left{position:absolute; top:0; left:50%; margin-left:-600px; height:100%; width:0px; background:#fff; border-left:1px dashed #111; opacity:0.8; z-index:9999999;}
	.pageSize-right{position:absolute; top:0; left:50%; margin-left:600px; height:100%; width:0px; background:#fff; border-left:1px dashed #111; opacity:0.8; z-index:9999999;}	
	.rotate90 { transform: rotate(-90deg); }
	.mainBgColor{background-color: #c00 !important;}
</style>
<script type="text/javascript">
$(function () {
	});
var setPageSize_i=true;
function setPageSize(type){
	if(!type)type='pc';
	switch(type){
		case 'pc':
			//电脑版式
			$(".pageSize").removeClass("mainBgColor");
			$("#pageSize-pc").addClass("mainBgColor");
			$(".canvas-mobile").css({"opacity":0});
			$(".canvas-pad").css({"opacity":0});
			$(".canvas-mobile").css({"top":"4%","width":"320px","height":"580px","marginLeft":"-160px"});
			if(setPageSize_i == false){
				setPageSize_i=true;
				$("#previewCanvas").attr("src","d1c53cd695b31a4a");
				$("#appNO").html("H1225");
				$qrImg = 'http://qr.liantu.com/api.php?w=120&m=0&text=http://demo.nicebox.cn/d1c53cd695b31a4a';
				$("#qr img").attr("src",$qrImg);
			}
			$("#previewCanvas").css({"width":"100%","height":"100%","top":"0px","left":"0px","margin-left":"","margin-top":""});
			break;
		case 'pad':
			//平板版式
			$(".pageSize").removeClass("mainBgColor");
			$("#pageSize-pad").addClass("mainBgColor");
			$(".canvas-mobile").css({"opacity":0});
			$(".canvas-pad").css({"opacity":1});
			$(".canvas-mobile").css({"top":"4%","width":"320px","height":"580px","marginLeft":"-160px"});
			if(setPageSize_i == false){
				setPageSize_i=true;
				$("#previewCanvas").attr("src","d1c53cd695b31a4a");
				$("#appNO").html("H1225");
				$qrImg = 'http://qr.liantu.com/api.php?w=120&m=0&text=http://demo.nicebox.cn/d1c53cd695b31a4a';
				$("#qr img").attr("src",$qrImg);
			}
			$("#previewCanvas").css({"width":"960px","height":"92%","top":"4%","margin-top":"","left":"50%","margin-left":"-487px"});
			break;
		case 'mobile':
			//手机版式
			$(".pageSize").removeClass("mainBgColor");
			$("#pageSize-mobile").addClass("mainBgColor");
			$(".canvas-mobile").css({"opacity":1});
			$(".canvas-pad").css({"opacity":0});
			

							$(".canvas-mobile").css({"top":"4%","width":"320px","height":"580px","marginLeft":"-160px"});
				if(setPageSize_i == false){
					setPageSize_i=true;
					$("#previewCanvas").attr("src","d1c53cd695b31a4a");
					$("#appNO").html("H1225");
					$qrImg = 'http://qr.liantu.com/api.php?w=120&m=0&text=http://demo.nicebox.cn/d1c53cd695b31a4a';
					$("#qr img").attr("src",$qrImg);
				}
				$("#previewCanvas").css({"width":"320px","height":"504px","top":"4%","margin-top":"30px","left":"50%","margin-left":"-160px"});
			

			break;
		case 'wxapp':
			setPageSize_i=false;
			$(".pageSize").removeClass("mainBgColor");
			$("#pageSize-wxapp").addClass("mainBgColor");
			$(".canvas-mobile").css({"opacity":1});
			$(".canvas-pad").css({"opacity":0});

			$(".canvas-mobile").css({"top":"50px","width":"375px","height":"calc(100% - 100px)","marginLeft":"-187.5px"});

			$("#appNO").html("H379");
			$("#previewCanvas").attr("src","wxapp/9e0cda6332cd4a48");
			$qrImg = 'http://qr.liantu.com/api.php?w=120&m=0&text=http://demo.nicebox.cn/wxapp/9e0cda6332cd4a48';
			$("#qr img").attr("src",$qrImg);
			$("#previewCanvas").css({"width":"375px","height":"calc(100% - 175px)","top":"50px","margin-top":"30px","left":"50%","margin-left":"-187.5px"});
			break;	
	}
}
</script>
</head>
<body style="color:white;font-size:14px;font-family:tahoma;margin:0px;" scroll="auto">
<div style="height:45px;background:url() repeat-x #111;">
	<div style="float:left;padding:13px 30px 0px 15px;">
	当前模板编号: <font color="#99ff00" id="appNO">H1225</font>
	</div>
		<div class="fl topLeftIco"><a href="javascript:setPageSize('pc')" class="mainBgColorHover tipsShow animi"><i class="fa fa-desktop pageSize mainBgColor" id="pageSize-pc"></i></a></div>
	<div class="fl topLeftIco"><a href="javascript:setPageSize('pad')" class="mainBgColorHover tipsShow animi"><i class="fa fa-tablet rotate90 pageSize" id="pageSize-pad"></i></a></div>
			<div class="fl topLeftIco"><a href="javascript:setPageSize('mobile')" class="mainBgColorHover tipsShow animi"><i class="fa fa-tablet  pageSize" id="pageSize-mobile"></i></a></div>
				<div class="fl topLeftIco"><a href="javascript:setPageSize('wxapp')" class="mainBgColorHover tipsShow animi"><i class="fa pageSize" id="pageSize-wxapp" style="background:url(/images/wxappico.png) no-repeat center;"></i></a></div>
				<a href="#" class="md"><img src="images/v6qr.png" align="absmiddle" border="0" onmouseover="document.getElementById('qr').style.display='';" onmouseout="document.getElementById('qr').style.display='none';"></a>

	<div style="position:absolute;width:130px;height:130px;background:#c00;left:242px;top:40px;display:none;padding:5px;z-index:999" id="qr">
		<img src="http://qr.liantu.com/api.php?w=120&m=0&text=http://demo.nicebox.cn/d1c53cd695b31a4a" style="border:5px solid #fff;">
	</div>
									<a href="http://demo.nicebox.cn?&id=1225&buyfrom=dome" target="_blank" class="boxV6Button" style="margin-right:15px;">立刻购买</a>
														<a href="http://test.nicebox.cn/login.php?u=test&id=1225&back=http://demo.nicebox.cn" target="_blank" class="boxV6Button">免费试用</a>
						

	<style>#editMenu .title {background-color: #1C76F5;}#editMenu{border:1px solid #1C76F5;}#main{width:400px;height:600px;overflow-y:auto;}#sV6Border{width:400px;height:680px;margin-top:30px;}div::-webkit-scrollbar{width:1px}</style>
</div>

<div class="preview" style="display: block; opacity: 1;">
	<div class="canvas-mobile animi-3" style="opacity: 0;">
   		<div class="canvas-mobile-top"><div class="canvas-mobile-top-ico"></div></div>
       	<div class="canvas-mobile-bottom"><div class="canvas-mobile-bottom-ico"></div></div>
   	</div>
   	<div class="canvas-pad animi-3" style="opacity: 0;">
   		<div class="canvas-pad-top"><div class="canvas-pad-top-ico"></div></div>
       	<div class="canvas-pad-bottom"><div class="canvas-pad-bottom-ico"></div></div>
   	</div>
	<iframe class="previewCanvas animi-3" id="previewCanvas" src="d1c53cd695b31a4a" style="width:100%;height:100%;top:0px;left:0px;" onload="isIframe()"></iframe>
</div>
<script type="text/javascript">

$(function(){
	var str=location.href;
	if(str.indexOf("default=wx") > -1){
		setPageSize('wxapp');
	}
})

function isIframe(){
	$("#previewCanvas").contents().find("head").append('<style>@media screen and (max-width:640px){::-webkit-scrollbar { width: 0px;}}</style>');
}
</script>
</body>
</html> 
